<html>
  <head>
    <title>审票任务列表</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
     <link href="style/css.css" rel="stylesheet" type="text/css" />
	 <link href="../../css/general1.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../../script/hiawardbpm.js"></script>
    <script type="text/javascript" src="../../script/prototype.js"></script>
    <script type="text/javascript" src="/vchzms-hiaward/dwr/engine.js"> </script>
	<script type="text/javascript" src="/vchzms-hiaward/dwr/util.js"> </script>
    <script type="text/javascript" src="/vchzms-hiaward/dwr/interface/Dao.js"></script>
  </head>
  <body>
    <div id="content"></div>
    <button onclick="getTaskByUser('financialAudit')" class="btn1">获取一笔审票任务</button>
    <script type="text/javascript">
      var voucher=new Object();
      voucher.chkstate=5;
      voucher.acctype=2;
      Dao.getDaoOperate(voucher,function(data){
          var con = "<table width='900' border='0' cellspacing='0' cellpadding='0' class='tablist1'><tr><td class='title2'>" + 
      	  	"<span>财政户审票任务列表</span></td></tr></table><table width='900' border='0' cellspacing='0' cellpadding='0' class='tablist1'><tr></tr><tr><th><span>帐号</span></th>" + 
          		"<th><span>金额</span></th><th><span>凭证号</span></th><th><span>交换号</span></th></tr>";	
          
		  for(var i=0;i<data.length;i++){
             con+="<tr><td>"+data[i].accno+"</td><td>"+data[i].amount+"</td><td>"+data[i].vchno+"</td><td>"+data[i].exchno+"</td></tr>";
          }
          con+="</table>";
		  document.getElementById('content').innerHTML=con;
      
      });
   </script>
  </body>
</html>